package com.ygqh.baby.service;

import java.util.List;

import com.wdt.api.response.support.StockOutOrderTradeDTO;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.WdtQybStockOut;

public interface WdtQybStockOutService {

	List<WdtQybStockOut> find();

	int findCount();

	WdtQybStockOut findById(Long id);

	int save(WdtQybStockOut wdtQybStockOut);

	int update(WdtQybStockOut wdtQybStockOut);

	int saveOrUpdate(WdtQybStockOut wdtQybStockOut);

	ResultSet<WdtQybStockOut> search(QueryInfo queryInfo, String q);

	int addBatch(List<WdtQybStockOut> outList);

	int addBatchByDTO(List<StockOutOrderTradeDTO> outList);

	int deleteBatch(List<Integer> stockOutIds);

	WdtQybStockOut findStockOutByLogisticsNo(Long logisticsNo);

}
